<div style="height:20px"></div>
<div id="topic_show_div" style="text-align:center">
    <img class="am-circle" alt="" src="<?= $CfgPara->httproot ?>/topic_pic/<?= $topicImg ?>" width="60" height="60"/>
    <div style="padding:5px 30px">
        <div style="padding-top:5px">
            <b id="topic_show_name" class="app-tittle-color"><?= $topicMsg->Name ?></b>
        </div>
        <div style="padding-top:5px">
            <span class="app-main-color am-text-xs">
                <?php if ($topicMsg->State == 1) { ?>
                    <?= formatDataSize($topicMsg->WorksCount) ?><span>篇作品.</span><span
                            id="topic_up_count_<?= $topicMsg->Id ?>"><?= formatDataSize($topicMsg->UpCount) ?></span>人关注
                <?php } else { ?>
                    <i class="am-icon am-icon-edit am-icon-fw"></i>草稿
                <?php } ?>
            </span>
        </div>
        <div style="height:43px; padding-top:5px;padding-bottom:10px">
            <?php if ($isRecommend === true) { ?>
                <button id="btn_topic_up" class="am-btn app-btn-followed am-radius am-btn-xs"
                        data-topic-id="<?= $topicMsg->Id ?>"
                        onclick="topic_up(this)" style="margin-right:10px;padding-left:13px;padding-right:13px;">
                    已关注
                </button>
            <?php } else { ?>
                <a class="am-btn app-btn-follow am-radius am-btn-xs"
                   data-topic-id="<?= $topicMsg->Id ?>"
                   onclick="topic_up(this)" style="margin-right:10px;padding-left:13px;padding-right:13px">
                    加关注
                </a>
            <?php } ?>
            <a class="am-btn app-btn-follow am-radius am-btn-xs"
               data-forward="controller=works_list&list_type=11&topic_id=<?= $topicMsg->Id ?>"
               onclick="act_content(this)"
               style="padding-left:13px;padding-right:13px">
                &nbsp;&nbsp;投稿&nbsp;&nbsp;
            </a>
        </div>
        <span class="app-gray-color">简介:<?= $topicMsg->Introd ?></span>
    </div>
</div>
<div style="height:10px;border-bottom:1px solid #dedede"></div>
<script type="text/javascript">
    page_share_ini("topic_show_div", "topic_show_name");
</script>